package cn.walls1717.ggkt.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author walls1717
 */
@Getter
public enum PaymentStatus {
    /**
     * 支付中
     */
    UNPAID(1, "支付中"),
    /**
     * 已支付
     */
    PAID(2, "已支付");

    // REFUND(-1,"已退款");

    @EnumValue
    private Integer code;
    private String comment;

    PaymentStatus(Integer code, String comment) {
        this.code = code;
        this.comment = comment;
    }

}
